//linq use
using System;
using System.Collections.Generic;
using System.Linq;
namespace time
{
    public class work_lamda
    {
        public static void Main()
        {
            List<int> l = new List<int>();
            l.Add(1);
            l.Add(11);
            l.Add(12);
            //var num = from n in l
            //          where n > 0
            //          select n;

            var num = l.Where(s => s > 10).Select(s => s);

            foreach (var item in num)
            {
                Console.WriteLine(item);
            }


        }
    }
}